FileSystemDirectory
attributes
It is of the type FileAttributes.
It may also be nil.
contents
[string]
It is of the type FileSystemFileNode.
kind
It is always the string directory.
Luau Type
This is the luau type for FileSystemDirectory. It may help clear up mistranslations from the raw data to the wiki page (as it is an automatic process).
export type FileSystemDirectory = {
kind: "directory",
attributes: FileAttributes?,
contents: {
[string]: FileSystemFileNode,
},
}